﻿<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="Checks.aspx.cs" Inherits="GMAC.ReportingSystem.Paginas.Checks"  Theme="Theme" EnableTheming="true"
    EnableEventValidation="false"%>

<%@ Register assembly="FrameworkManapro.WebUI" namespace="FrameworkManapro.WebUI" tagprefix="fwm" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>

    <script type="text/javascript" src="../Scripts/Validations.js"></script>

    <script type="text/javascript" src="../Scripts/CheckFramesAndRedirect.js"></script>

    <script type="text/javascript">
        function ExpandPanel() {
            var pnlDetailsExtender = $find("pnlDetailsExtender");
            var pnlSearchExtender = $find("pnlSearchExtender");
            if (pnlDetailsExtender != null)

                pnlDetailsExtender.expandPanel();
            pnlSearchExtender.collapsePanel();
        }
      
    </script>

</head>
<body class="TotalBody">
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true"  EnableScriptGlobalization="true">
    </asp:ScriptManager>
    <div class="Contenedor" style = "padding-bottom: 10px; padding-top:10px;">
        <table cellpadding="0" cellspacing="0" border="0" style="width: 100%; vertical-align: top">
            <tr>
                <td style="text-align: left">
                    <span class="FontArialPaddingLeft15 TitleFontBlue FontArialBoldCaps">&nbsp;Checks</span></td>
            </tr>
            <tr>
                <td align="center">
                    <div class="WindowHeightMain">
                        <table cellpadding="0" cellspacing="0" border="0" style="width: 100%; vertical-align: top">
                            <tr>
                                <td class="TDSeparadorV" colspan="2">
                                </td>
                            </tr>
                            <tr class="SearchBackground" style="width: 100%">
                                <td class="TDBorder">
                                    <table cellpadding="0" cellspacing="0" border="0">
                                        <tr>
                                            <td style="padding-left: 10px; text-align: left; width: 100%">
                                                <span class="FontArialBoldCaps" style="font-size: 14px">Search Filter</span>
                                            </td>
                                            <td style="padding-right: 10px; text-align: right">
                                                <asp:ImageButton ID="imgCollapseSearch" ImageAlign="Middle" ImageUrl="~/App_Themes/Theme/Images/Images IE6/Minus.gif"
                                                    Width="25px" Height="25px" OnClientClick="return false;" runat="server" BorderWidth="0px" />
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:Panel ID="pnlSearch" runat="server" SkinID="pnlBusqueda" Height="89px">
                                        <table cellpadding="0" cellspacing="0" border="0" visible="false">
                                            <tr>
                                                <td valign="top">
                                                    <table cellpadding="0" cellspacing="0" border="0">
                                                        <tr style="padding-left: 10px">
                                                            <td style="padding-left: 5px" class="LabelRight12px TDLabelBackground">
                                                                CheckNumber
                                                            </td>
                                                            <td class="TDTextBox">
                                                                <asp:TextBox ID="txtCheckNumberSearch" runat="server" MaxLength="15" SkinID="TextBox12px"
                                                                    TextMode="SingleLine" TabIndex="1"></asp:TextBox>
                                                                <cc1:FilteredTextBoxExtender ID="fteCheckNumberSearch" runat="server" TargetControlID="txtCheckNumberSearch"
                                                                    FilterType="Numbers">
                                                                </cc1:FilteredTextBoxExtender>
                                                            </td>
                                                        </tr>
                                                        <tr style="padding-left: 10px">
                                                            <td style="padding-left: 5px" class="LabelRight12px TDLabelBackground">
                                                                 Date</td>
                                                            <td class="TDTextBox">
                                                                <asp:TextBox ID="txtDateSearch" runat="server" MaxLength="10" SkinID="TextBox12px"
                                                            TextMode="SingleLine" TabIndex="2"></asp:TextBox>
                                                            <cc1:CalendarExtender ID="calendarDateSearch" runat="server" TargetControlID="txtDateSearch">
                                                            </cc1:CalendarExtender>
                                                            <cc1:MaskedEditExtender ID="meeDateSearch" runat="server" TargetControlID="txtDateSearch"
                                                                MaskType="Date" Mask="99/99/9999">
                                                            </cc1:MaskedEditExtender>
                                                           
                                                            <cc1:MaskedEditValidator ID="maskedDateSearch" runat="server" Display="Dynamic"
                                                                InvalidValueMessage="*" ToolTip="Fecha incorrecta" ControlExtender="meeDateSearch"
                                                                ControlToValidate="txtDateSearch"></cc1:MaskedEditValidator>
                                                            <cc1:MaskedEditValidator ID="maskedDateSearch2" runat="server" Display="None" InvalidValueMessage="Invalid Date"
                                                                ToolTip="Fecha incorrecta" ControlExtender="meeDateSearch" ControlToValidate="txtDateSearch"></cc1:MaskedEditValidator>
                                                            <asp:RangeValidator ID="rvDateSearch" runat="server" ControlToValidate="txtDateSearch" 
                                                                MinimumValue="01/01/1900" MaximumValue="06/06/2079" Type="Date"
                                                                ErrorMessage="Date out of valid range">*</asp:RangeValidator>
                                                           
                                                            <cc1:ValidatorCalloutExtender ID="vceDateSearch2" runat="server" TargetControlID="maskedDateSearch">
                                                            </cc1:ValidatorCalloutExtender>
                                                            <cc1:ValidatorCalloutExtender ID="vceDateSearch3" runat="server" TargetControlID="rvDateSearch">
                                                            </cc1:ValidatorCalloutExtender>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                                <td class="TDSeparadorH">
                                                </td>
                                                <td>
                                                    <table cellpadding="0" cellspacing="0" border="0">
                                                        <tr style="padding-left: 10px">
                                                            <td style="padding-left: 5px" class="LabelRight12px TDLabelBackground">
                                                                Bank
                                                            </td>
                                                            <td class="TDTextBox">
                                                                <asp:DropDownList ID="ddlBankSearch" runat="server" SkinID="ddl12px" 
                                                                    TabIndex="3">
                                                                </asp:DropDownList>
                                                            </td>
                                                            <td>
                                                            </td>
                                                        </tr>
                                                        <tr style="padding-left: 10px">
                                                            <td style="padding-left: 5px" class="LabelRight12px TDLabelBackground">
                                                                &nbsp;</td>
                                                            <td class="TDTextBox">
                                                                <asp:ImageButton ID="imgBuscarReg" runat="server" CausesValidation="false" 
                                                                    Height="25px" ImageAlign="Middle" 
                                                                    ImageUrl="~/App_Themes/Theme/Images/Botones/Botones Reducidos/Ingles/b_Find.jpg" 
                                                                    OnClick="imgBuscarReg_Click" TabIndex="4" />
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                                <td id="Botones" style="vertical-align: middle">
                                                    &nbsp;</td>
                                            </tr>
                                        </table>
                                    </asp:Panel>
                                    <cc1:CollapsiblePanelExtender ID="pnlSearch_Collapse" runat="server" TargetControlID="pnlSearch"
                                        BehaviorID="pnlSearchExtender" CollapsedImage="~/App_Themes/Theme/Images/Images IE6/Plus.gif"
                                        ExpandedImage="~/App_Themes/Theme/Images/Images IE6/Minus.gif" CollapseControlID="imgCollapseSearch"
                                        ExpandControlID="imgCollapseSearch" Collapsed="false" SuppressPostBack="false"
                                        ImageControlID="imgCollapseSearch">
                                    </cc1:CollapsiblePanelExtender>
                                </td>
                            </tr>
                            <tr>
                                <td class="TDSeparadorV" colspan="2">
                                </td>
                            </tr>
                            <tr class="SearchBackground" style="width: 100%">
                                <td class="TDBorder">
                                    <table cellpadding="0" cellspacing="0" border="0">
                                        <tr>
                                            <td style="padding-left: 10px; text-align: left; width: 100%">
                                                <span class="FontArialBoldCaps" style="font-size: 14px">Edit Fields</span>
                                            </td>
                                            <td style="padding-right: 10px; text-align: right">
                                                <asp:ImageButton ID="imgCollapseEdit" ImageAlign="Middle" ImageUrl="~/App_Themes/Theme/Images/Images IE6/Minus.gif"
                                                    Width="25px" Height="25px" runat="server" BorderWidth="0px" OnClientClick="return false;"
                                                    TabIndex="5" />
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:UpdatePanel ID="upDetails" runat="server" UpdateMode="Conditional">
                                        <Triggers>
                                            <asp:AsyncPostBackTrigger ControlID="btnModify" EventName="Click" />
                                        </Triggers>
                                        <ContentTemplate>
                                            <asp:Panel ID="pnlEdit" runat="server" SkinID="pnlBusqueda" Height="198px">
                                                <table cellpadding="0" cellspacing="0" border="0" visible="false">
                                                    <tr>
                                                        <td valign="top">
                                                            <table cellpadding="0" cellspacing="0" border="0">
                                                                <tr style="padding-left: 10px">
                                                                    <td style="padding-left: 5px" class="LabelRight12px TDLabelBackground">
                                                                        CheckNumber</td>
                                                                    <td class="TDTextBox">
                                                                        <asp:TextBox ID="txtCheckNumber" runat="server" MaxLength="15" SkinID="TextBox12px"
                                                                            TextMode="SingleLine" TabIndex="7"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="rfvCheckNumber" runat="server" ControlToValidate="txtCheckNumber"
                                                                            Display="Dynamic">*</asp:RequiredFieldValidator>
                                                                        <cc1:ValidatorCalloutExtender runat="server" ID="vceCheckNumber" TargetControlID="rfvCheckNumber">
                                                                        </cc1:ValidatorCalloutExtender>
                                                                        <cc1:FilteredTextBoxExtender ID="fteCheckNumber" runat="server" TargetControlID="txtCheckNumber"
                                                                            Enabled="True" FilterType="Numbers">
                                                                        </cc1:FilteredTextBoxExtender>
                                                                        <asp:HiddenField ID="hfID" runat="server" />
                                                                    </td>
                                                                </tr>
                                                                <tr style="padding-left: 10px">
                                                                    <td style="padding-left: 5px" class="LabelRight12px TDLabelBackground">
                                                                        Amount</td>
                                                                    <td class="TDTextBox">
                                                                       <asp:TextBox ID="txtAmount" runat="server" MaxLength="20" SkinID="TextBox12px" 
                                                                            TabIndex="8"    onkeypress="return ValNumero(event);" ></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="rfvAmount0" runat="server" 
                                                                            ControlToValidate="txtAmount" Display="Dynamic">*</asp:RequiredFieldValidator>
                                                                        <asp:RequiredFieldValidator ID="rfvAmount1" runat="server" 
                                                                            ControlToValidate="txtAmount" Display="Dynamic" InitialValue="0" 
                                                                            ValidationGroup="Save">*</asp:RequiredFieldValidator>
                                                                        <asp:RequiredFieldValidator ID="rfvAmount2" runat="server" 
                                                                            ControlToValidate="txtAmount" Display="Dynamic" InitialValue="0.00" 
                                                                            ValidationGroup="Save">*</asp:RequiredFieldValidator>
                                                                        <cc1:ValidatorCalloutExtender ID="rfvAmount2_ValidatorCalloutExtender" 
                                                                            runat="server" TargetControlID="rfvAmount2">
                                                                        </cc1:ValidatorCalloutExtender>
                                                                        <cc1:ValidatorCalloutExtender ID="rfvAmount1_ValidatorCalloutExtender" 
                                                                            runat="server" TargetControlID="rfvAmount1">
                                                                        </cc1:ValidatorCalloutExtender>
                                                                        <cc1:ValidatorCalloutExtender ID="rfvAmount0_ValidatorCalloutExtender" 
                                                                            runat="server" TargetControlID="rfvAmount0">
                                                                        </cc1:ValidatorCalloutExtender>
                                                                        <cc1:MaskedEditExtender ID="MaskAmount" runat="server" TargetControlID="txtAmount"
                                                                    MaskType="Number" Mask="999,999.99"   InputDirection="RightToLeft">
                                                                </cc1:MaskedEditExtender>
                                                                <cc1:MaskedEditValidator ID="MaskedEditValidator1" runat="server" Display="None" InvalidValueMessage="Invalid Number"
                                                                    ControlExtender="MaskAmount" ControlToValidate="txtAmount"></cc1:MaskedEditValidator>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                        <td class="TDSeparadorH">
                                                        </td>
                                                        <td valign="top">
                                                            <table cellpadding="0" cellspacing="0" border="0">
                                                                <tr style="padding-left: 10px">
                                                                    <td class="LabelRight12px TDLabelBackground" style="padding-left: 5px">
                                                                        Bank
                                                                    </td>
                                                                    <td class="TDTextBox">
                                                                        <asp:DropDownList ID="ddlBank" runat="server" SkinID="ddl12px" TabIndex="9">
                                                                        </asp:DropDownList>
                                                                        <asp:RequiredFieldValidator ID="rfvBank" runat="server" ControlToValidate="ddlBank"
                                                                            Display="Dynamic">*</asp:RequiredFieldValidator>
                                                                        <cc1:ValidatorCalloutExtender ID="vceBank" runat="server" TargetControlID="rfvBank">
                                                                        </cc1:ValidatorCalloutExtender>
                                                                    </td>
                                                                </tr>
                                                                <tr style="padding-left: 10px">
                                                                    <td class="LabelRight12px TDLabelBackground" style="padding-left: 5px">
                                                                        Date
                                                                    </td>
                                                                    <td class="TDTextBox">
                                                                        <asp:TextBox ID="txtDate" runat="server" MaxLength="10" SkinID="TextBox12px"
                                                            TextMode="SingleLine" TabIndex="9"></asp:TextBox>
                                                            <cc1:CalendarExtender ID="calendarDate" runat="server" TargetControlID="txtDate">
                                                            </cc1:CalendarExtender>
                                                            <asp:RequiredFieldValidator ID="rfvDate" runat="server" ControlToValidate="txtDate"
                                                                            Display="Dynamic">*</asp:RequiredFieldValidator>
                                                                            <cc1:ValidatorCalloutExtender runat="server" ID="vceDate" TargetControlID="rfvDate">
                                                                        </cc1:ValidatorCalloutExtender>
                                                            <cc1:MaskedEditExtender ID="meeDate" runat="server" TargetControlID="txtDate"
                                                                MaskType="Date" Mask="99/99/9999">
                                                            </cc1:MaskedEditExtender>
                                                           
                                                            <cc1:MaskedEditValidator ID="maskedDate" runat="server" Display="Dynamic"
                                                                InvalidValueMessage="*" ToolTip="Fecha incorrecta" ControlExtender="meeDate"
                                                                ControlToValidate="txtDate"></cc1:MaskedEditValidator>
                                                            <cc1:MaskedEditValidator ID="maskedDate2" runat="server" Display="None" InvalidValueMessage="Invalid Date"
                                                                ToolTip="Fecha incorrecta" ControlExtender="meeDate" ControlToValidate="txtDate"></cc1:MaskedEditValidator>
                                                            <asp:RangeValidator ID="rvDate" runat="server" ControlToValidate="txtDate" 
                                                                MinimumValue="01/01/1900" MaximumValue="06/06/2079" Type="Date"
                                                                ErrorMessage="Date out of valid range">*</asp:RangeValidator>
                                                           
                                                            <cc1:ValidatorCalloutExtender ID="vceDate2" runat="server" TargetControlID="maskedDate">
                                                            </cc1:ValidatorCalloutExtender>
                                                            <cc1:ValidatorCalloutExtender ID="vceDate3" runat="server" TargetControlID="rvDate">
                                                            </cc1:ValidatorCalloutExtender>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td id="BotonesEdit" style="vertical-align: middle; width:100%;" align="right" colspan="3">
                                                            <asp:ImageButton ID="btnSave" runat="server" ImageUrl="~/App_Themes/Theme/Images/Botones/Botones Reducidos/Ingles/b_Save.jpg"
                                                                OnClick="btnSave_Click" TabIndex="11" />
                                                            <asp:ImageButton ID="btnNew" runat="server" CausesValidation="true" ImageUrl="~/App_Themes/Theme/Images/Botones/Botones Reducidos/Ingles/b_New.jpg"
                                                                OnClick="btnNew_Click" TabIndex="12" />
                                                            <asp:ImageButton ID="btnCancel" runat="server" ImageUrl="~/App_Themes/Theme/Images/Botones/Botones Reducidos/Ingles/b_Cancel.gif"
                                                                OnClick="btnCancel_Click" TabIndex="13" CausesValidation="false" />
                                                        </td>
                                                    </tr>
                                                </table>
                                            </asp:Panel>
                                            <cc1:CollapsiblePanelExtender ID="pnlEdit_Collapse" runat="server" TargetControlID="pnlEdit"
                                                BehaviorID="pnlDetailsExtender" CollapsedImage="~/App_Themes/Theme/Images/Images IE6/Plus.gif"
                                                ExpandedImage="~/App_Themes/Theme/Images/Images IE6/Minus.gif" CollapseControlID="imgCollapseEdit"
                                                ExpandControlID="imgCollapseEdit" Collapsed="true" SuppressPostBack="false" ImageControlID="imgCollapseEdit">
                                            </cc1:CollapsiblePanelExtender>
                                        </ContentTemplate>
                                    </asp:UpdatePanel>
                                </td>
                            </tr>
                            <tr>
                                <td class="TDSeparadorV" colspan="2">
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: left" colspan="2">
                                    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                        <ContentTemplate>
                                            <asp:GridView ID="grvchecks" runat="server" SkinID="GridGMAC" AutoGenerateColumns="False"
                                                Width="100%" OnRowDataBound="grvchecks_RowDataBound" DataKeyNames="ID" 
                                                TabIndex="14">
                                                <Columns>
                                                    <asp:BoundField HeaderText="CheckNumber" DataField="CheckNumber" 
                                                        HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" >
                                                    <HeaderStyle HorizontalAlign="Center" />
                                                    <ItemStyle HorizontalAlign="Center" />
                                                    </asp:BoundField>
                                                    <asp:BoundField HeaderText="Date" DataField="dDate" 
                                                        HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" dataformatstring="{0:dd/MM/yy}" >
                                                    <HeaderStyle HorizontalAlign="Center" />
                                                    <ItemStyle HorizontalAlign="Center" />
                                                    </asp:BoundField>
                                                    <asp:BoundField HeaderText="Amount" DataField="Amount"  DataFormatString="{0:N2}"
                                                        HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" >
                                                    <HeaderStyle HorizontalAlign="Center" />
                                                    <ItemStyle HorizontalAlign="Center" />
                                                    </asp:BoundField>
                                                    <asp:BoundField HeaderText="Bank" DataField="" 
                                                        HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center">
                                                    <HeaderStyle HorizontalAlign="Center" />
                                                    <ItemStyle HorizontalAlign="Center" />
                                                    </asp:BoundField>
                                                    
                                                    <asp:TemplateField>
                                                        <ItemTemplate>
                                                            <asp:Label ID="Label1" runat="server" Text='<%# Eval("BankID.DebitBankName") %>'></asp:Label>
                                                     </ItemTemplate>
                                                    </asp:TemplateField>
                                                </Columns>
                                                <HeaderStyle HorizontalAlign="Center" />
                                            </asp:GridView>
                                            <fwm:PagingControl ID="PagingControl" runat="server" 
                                                AllowPageSizeChange="false" OnPageChanged="pagingControl_PageChanged" 
                                                ShowCurrentRecordsLegend="false" TabIndex="15"  />
                                        </ContentTemplate>
                                        <Triggers>
                                            <asp:AsyncPostBackTrigger ControlID="grvchecks" EventName="SelectedIndexChanged" />
                                            <asp:AsyncPostBackTrigger ControlID="imgBuscarReg" EventName="Click" />
                                        </Triggers>
                                    </asp:UpdatePanel>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: right;">
                                    <asp:UpdatePanel ID="upMessageConfirm" runat="server" UpdateMode="Conditional">
                                        <ContentTemplate>
                                            <asp:ImageButton ID="btnModify" runat="server" ImageUrl="~/App_Themes/Theme/Images/Botones/Botones Reducidos/Ingles/b_Modify.jpg"
                                                OnClick="btnModify_Click" OnClientClick="ExpandPanel();" CausesValidation="false"
                                                TabIndex="16" />
                                            <asp:ImageButton ID="btnDelete" runat="server" ImageUrl="~/App_Themes/Theme/Images/Botones/Botones Reducidos/Ingles/b_Delete.jpg"
                                                CausesValidation="false" TabIndex="17" OnClick="btnDelete_Click" />
                                            <%--<cc1:ConfirmButtonExtender ID="confirmExtender" runat="server" DisplayModalPopupID="popupExtenderConfirm"
                                                TargetControlID="btnDelete">
                                            </cc1:ConfirmButtonExtender>--%>
                                            <asp:Panel ID="pnlMessageConfirm" runat="server" CssClass="modalPopup" Height="140px"
                                                Style="display: none;" Width="400px">
                                                <table width="100%">
                                                    <tr style="height: 100px">
                                                        <td style="height: 100%;" align="center">
                                                            <uc1:wucMessage ID="wucMessageConfirm" runat="server" MessageType="Information" Message="Are you sure you want to delete the selected user?"
                                                                Visible="true" />
                                                        </td>
                                                    </tr>
                                                    <tr style="vertical-align: bottom">
                                                        <td align="center">
                                                            <asp:ImageButton ID="btnConfirm" runat="server" ImageUrl="~/App_Themes/Theme/Images/Botones/Botones Reducidos/Ingles/b_Accept.jpg"
                                                                CausesValidation="false" OnClick="btnConfirm_Click" />
                                                            <asp:ImageButton ID="btnCancelConfirm" runat="server" ImageUrl="~/App_Themes/Theme/Images/Botones/Botones Reducidos/Ingles/b_Cancel.gif"
                                                                CausesValidation="false" />
                                                        </td>
                                                    </tr>
                                                </table>
                                            </asp:Panel>
                                            <cc1:ModalPopupExtender ID="popupExtenderConfirm" runat="server" BackgroundCssClass="modalBackground"
                                                DropShadow="false" PopupControlID="pnlMessageConfirm" TargetControlID="lnkConfirm"
                                                CancelControlID="btnCancelConfirm">
                                            </cc1:ModalPopupExtender>
                                            <asp:LinkButton ID="lnkConfirm" runat="server"></asp:LinkButton>
                                        </ContentTemplate>
                                    </asp:UpdatePanel>
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    <asp:UpdatePanel ID="upMessage" runat="server">
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
        </Triggers>
        <ContentTemplate>
            <asp:Panel ID="pnlMessage" runat="server" CssClass="modalPopup" Height="140px" Style="display: none;"
                Width="400px">
                <table width="100%">
                    <tr style="height: 100px">
                        <td style="height: 100%" align="center">
                            <uc1:wucMessage ID="wucMessage" runat="server" />
                        </td>
                    </tr>
                    <tr style="vertical-align: bottom">
                        <td align="center">
                            <asp:ImageButton ID="btnAccept" runat="server" ImageUrl="~/App_Themes/Theme/Images/Botones/Botones Reducidos/Ingles/b_Accept.jpg"
                                CausesValidation="false" />
                        </td>
                    </tr>
                </table>
            </asp:Panel>
            <cc1:ModalPopupExtender ID="popupExtenderMessage" runat="server" BackgroundCssClass="modalBackground"
                DropShadow="false" PopupControlID="pnlMessage" TargetControlID="lnkPopupMessage"
                CancelControlID="btnAccept">
            </cc1:ModalPopupExtender>
            <asp:LinkButton ID="lnkPopupMessage" runat="server"></asp:LinkButton>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
